package com.lee;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@EnableEurekaClient // 本服务启动后会自动注册进eureka服务中
@EnableCircuitBreaker   // 开启Hystrix
@SpringBootApplication
public class SpringCloudProvider8005Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloudProvider8005Application.class, args);
    }

}
